import java.util.Scanner;

public class a009_解碼器 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		String input, output;
		
		char each_ascii;
		
		while(sc.hasNext()) {
			input = sc.nextLine();
			
			output = "";
			
			for(int i = 0; i < input.length(); i++) {
				each_ascii = (char)((int)input.charAt(i) - 7);
				output += Character.toString(each_ascii);
			}
			
			System.out.println(output);
		}
	}
	
}